﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Application.Creation.Factory_method
{
	class Program
	{
		static void Main(string[] args)
		{
			Pizzeria oPizzeriaBX = new PizzeriaBordeaux();
			Pizzeria oPizzeriaGB = new PizzeriaGembloux();

			oPizzeriaBX.CommanderPizza(TypePizza.Fromage);

			Console.WriteLine();

			oPizzeriaGB.CommanderPizza(TypePizza.Chorizo);

			Console.ReadLine();
		}
	}
}
